package gentle.service;

import com.baomidou.mybatisplus.plugins.Page;
import gentle.entity.*;

import java.util.List;

/**
 *
 * @author py
 * @Date 2018年4月19日23:15:54
 */
public interface ITcRevisitService {

    List<TcRevisitInfo> selectPageListByRevisit(Page<TcRevisitInfo> page, SearchTcRevisitInfo info);

    int getQueryPagesRevisitCount(Page<TcRevisitInfo> page, SearchTcRevisitInfo searchTheInfo);

    List<TongJiInfo> total(String reach, String startRevisitTime, String startTime, String endTime, String startUpdateTime, String endUpdateTime, String followStatus, String consumptionStatus,
                           String endRevisitTime, String revisit, String outpatientName, String abbreviation);

    List<TcRevisitsInfo> TcFollowTableList(String reservationsId,String abbreviation);

    int addTcContent2(String customerId,String followStatus, String consumptionStatus, String revisitContent, String revisitTime,
                      String remarks, String reservationsId, String revisit,String abbreviation, String userName, String outpatientName);

    int addTcContentOver(String customerId,String followStatus, String consumptionStatus, String revisitContent, String revisitTime,
                         String remarks, String reservationsId, String revisit,String abbreviation, String userName, String outpatientName);

    int delete_tcFollow(String ids);

    int updateTcContent(String tcName, String createName,String followStatus, String consumptionStatus,String revisitTime,
                        String revisitContent, String tcVisitId, String remarks, String reservationsId,String revisit,String abbreviation);

    int updateTcContent1(String tcName, String createName,String followStatus, String consumptionStatus,String revisitTime,
                        String revisitContent, String tcVisitId, String remarks, String reservationsId,String revisit,String abbreviation);

    int updateTcContent2(String tcName, String createName,String followStatus, String consumptionStatus,String revisitTime,
                        String revisitContent, String tcVisitId, String remarks, String reservationsId,String revisit,String abbreviation);

    SfInfo getSfById(String id);

    SfInfo getJgById(String id);

    int deleteSfById(String id);

    int deleteJgById(String id);
}